<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>CSS中的继承</title>
<style>
    div {
    color:pink;
  }
</style>
</head>
<body>
  <div>
    <p>哈哈哈</p>
  </div>
</body>
</html>